<html>
	<head>
		<title>OpenKM</title>
		<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="Cache-Control" content="no-cache" />
    	<meta http-equiv="Pragma" content="no-cache" />
    	<meta http-equiv="Expires" content="0" />
    	<meta http-equiv="X-UA-Compatible" content="chrome=1">
    	<meta http-equiv="X-UA-Compatible" content="ie=8">
		<link rel="Shortcut icon" href="../favicon.ico">
		<link type="text/css" rel="stylesheet" href="styles.css" title="default">
		<link type="text/css" rel="alternate stylesheet" href="test.css" title="test">
		<link type="text/css" rel="alternate stylesheet" href="mediumfont.css" title="mediumfont">
		<link type="text/css" rel="alternate stylesheet" href="bigfont.css" title="bigfont">
		<script type="text/javascript" src="../js/swfobject/swfobject.js"></script>
		<script type="text/javascript" src="../js/deploy/deployJava.js"></script>
		<script type="text/javascript" src="../js/flexpaper/flexpaper_flash.js"></script>
		<script type="text/javascript">
			// Disable contextual menus in NS 4.
			function right(e) {
				if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) {
					return false;
				}
				return true;
			}
			
			// Disable contextual menus in NS 6 and IE.
			function context() {
				return false;
			}
			
			document.oncontextmenu = function() { return false; };
			
			function changeCss(title) {
				var i, a;
				
				for (i=0; (a = document.getElementsByTagName("link")[i]); i++) {
					if (a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
						a.disabled = true;
						if (a.getAttribute("title") == title) a.disabled = false;
					}
				}
			}
			
	   		function printFile() {
	   			window.frames['__print'].focus(); 
	   			parent['__print'].print();
	   		}
			
			document.onmousedown = right;
			document.oncontextmenu = context;
		</script>
	</head>
	<body>
		<script type="text/javascript" src="frontend.nocache.js"></script>
		<div id="scannerApplet"></div>
		<div id="uploaderApplet"></div>
		<div id="print"></div>
		<!-- Download documents needs this -->
		<div style="display:none;visibility:hidden;">
			<iframe src="" id="__download" style="width:0;height:0;border:0"></iframe>
			<script type="text/javascript">
				var ua = navigator.userAgent.toLowerCase();
            	if ( ua.indexOf('chrome') != -1 ) {
                	document.write('<iframe src="" id="__print" width="0" height="0" name="__print" style="width:0;height:0;border:0"></iframe>');
            	}
			</script>
		</div>
		<script type="text/javascript">
			var ua = navigator.userAgent.toLowerCase();
           	if ( ua.indexOf('chrome') == -1 ) {
               	document.write('<iframe src="" id="__print" width="0" height="0" name="__print" style="width:0;height:0;border:0"></iframe>');
           	}
		</script>
	</body>
</html>